//
//  BaseNavigationController.m
//  iYJ
//
//  Created by 1696477589@qq.com on 15/12/3.
//  Copyright © 2015年 Welstone. All rights reserved.
//

#import "BaseNavigationController.h"

@interface BaseNavigationController ()

@end

@implementation BaseNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
//    //为导航栏设置颜色
//    [[UINavigationBar appearance] setBackgroundImage:[UIImage imageWithColor:[UIColor colorWithHexColorString:@"#24b7d2"]] forBarMetrics:UIBarMetricsDefault];
//    //为导航栏设置颜色
//    [[UINavigationBar appearance] setBackgroundImage:[UIImage imageWithColor:[CIColor ]] forBarMetrics:UIBarMetricsDefault];
    //设置导航栏字体颜色
    NSDictionary *attributes = @{NSForegroundColorAttributeName:[UIColor blueColor]};
    self.navigationBar.titleTextAttributes = attributes;
    
    
    self.navigationBar.tintColor = [UIColor blueColor];

}

//设置导航栏风格
- (UIStatusBarStyle)preferredStatusBarStyle
{
    return UIStatusBarStyleLightContent;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
